package com.yenlien.traceyun.business.trace;

import java.lang.annotation.*;

/**
 * @author: bigwangy@sina.com
 * @create: 2020-07-27
 * @description:关联查询
 **/

@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface RelationTrace {

    //关联class
    Class<?> relationClass();

    //查询主要字段
    String mainField();

    //查询关联字段
    String relationField();
}
